﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BPC.Magic8Ball
{
    public class Ball
    {
        private List<string> _answers;

        public List<string> Answers
        {
            get { return _answers; }
            set { _answers = value; }
        }

        public Ball()
        {
            _answers = new List<string>();
            _answers.Add("Yes");
        }

        public string AskQuestion(string p)
        {
            Random random = new Random();
            int item = random.Next(_answers.Count);

            return _answers[item];
        }
    }
}
